from page_objects import PageObject, PageElement
from pages.login_page_5i5j import LoginPage


class WelcomePage(LoginPage):
    """欢迎页面"""
    #welcome_house_manage = PageElement(css="body.page-header-fixed.page-sidebar-closed:nth-child(2) div.page-container:nth-child(10) div.page-sidebar.nav-collapse.collapse:nth-child(3) ul.page-sidebar-menu li.list_wrap:nth-child(1) > a.links")
    welcome_house_manage = PageElement(xpath="//body[@class='page-header-fixed page-sidebar-closed']/div[@class='page-container']/div[@class='page-sidebar nav-collapse collapse']/ul[@class='page-sidebar-menu']/li[1]/a[1]")
    welcome_house_list = PageElement(link_text='房源列表')

